home *** CD-ROM | disk | FTP | other *** search
- Subject: ODF Observations
- Sent: 7/10/96 3:47 AM
- Received: 7/10/96 8:46 AM
- From: Hewitt-Jon, MSMAIL.HEWITTJ@TSOD.LMIG.COM
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
-
-
- Hi,
-
- I just started working on my first ODF part. I have a couple observations and
- questions I was hoping to get comments on:
-
- o My part has a lot of FW_CEditView's. It seemed rather difficult to get the
- FW_CEditView's to reflect my part's contents and vice versa. For example, when
- I have multiple frames, I want the changes made to a FW_CEditView in one frame
- to be immediately reflected in the other frames. The default implementation,
- i.e. the implementation based on the Hello part, just forced a redraw which
- wouldn't do anything to propagate the newly typed text to the corresponding
- FW_CEditView's. My solution was to use the notification subsystem to notify the
- frames to update the FW_CEditView's. Is there a more general way to synchronize
- frames and the content?
-
- o More notification classes would be useful, i.e. FW_CBecameTargetNotification,
- FW_CResignedTargetNotification, FW_CEditViewChangedNotification, etc.
-
- o I hate short file names. Alas, the cost of cross-platform code.
-
- o When is ODF 2 scheduled for release?
-
- o It seems like it would be useful to be able to copy and assign content
- objects. For example, if you want to be able to undo a drop of a part of the
- same type, a command class could just retain a copy of the content as the saved
- data. FW_Content lacks an explicit copy constructor and assignment operator.
- The compiler generated versions look safe to use for the current class but that
- is no guarantee that they will remain safe. Does it make sense to add an
- explicit copy constructor and assignment operator? Or should I use a
- stream/archiving to duplicate the content's data?
-
-
- Jon Hewitt
- MSMAIL.HEWITTJ@TSOD.LMIG.COM
-
-